//
//  AddShopTableViewCell4.m
//  GetPowerDBO
//
//  Created by 周博 on 2017/6/14.
//  Copyright © 2017年 BogoZhou. All rights reserved.
//

#import "AddShopTableViewCell4.h"

@interface AddShopTableViewCell4 ()<UITextViewDelegate>

@end

@implementation AddShopTableViewCell4

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self creatTextView];
}

- (void )creatTextView{
    
    _textView = [[BGTextView alloc] initWithFrame:CGRectMake(10, 10, kScreenSize.width - 20, self.sizeHeight - 20)];
    _textView.textFont = [UIFont systemFontOfSize:15];
    _textView.placeholderStr = @"备注可留空";
    _textView.placeholderColor = kColorFrom0x(0xbebebe);
    _textView.textViewTextColor = [UIColor blackColor];
    _textView.backgroundColor = kColorFrom0x(0xf4f4f4);
    
    _textView.tintColor = [UIColor blackColor];
//    _textView.keyboardType = UIKeyboardTypeNumberPad;
    [_textView updateInfo];
    _textView.delegate = self;
    [self addSubview:_textView];
}


- (void)textViewDidChange:(UITextView *)textView{
    [_textView textViewDidChange:textView];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
